package com.booking.springrestful.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.booking.springrestful.domain.PatternLibrary;
import com.booking.springrestful.domain.dto.PatternDto;
import com.booking.springrestful.domain.dto.PatternSaveDto;
import com.booking.springrestful.resp.PageResult;

import java.util.List;

/**
* @author 13182
* @description 针对表【pattern_library(壮锦纹样资源主库表)】的数据库操作Service
* @createDate 2025-10-15 13:24:53
*/
public interface PatternLibraryService extends IService<PatternLibrary> {
    PageResult<PatternSaveDto> getPatternList(PatternDto dto);
    void deletePatterns(List<Long> ids);
    void savePattern(PatternSaveDto dto);
    PatternSaveDto getPatternById(Long id);
    void updatePattern(PatternSaveDto dto);
}
